﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DevTeam;

namespace Aker.DevTeam
{
    public class AppSession
    {
        public static MainForm MainForm {get;set;}

        public static User UserInfo { get; set; }

        public static string Version { get; set; }

        public static Aker.ceMessenger.ceMessengerSoapClient messenger = new Aker.ceMessenger.ceMessengerSoapClient();

        public static Aker.ceMessenger.ceMessengerSoapClient Messenger
        {
            get { return AppSession.messenger; }
            set { AppSession.messenger = value; }
        }

        public static bool IsOnline { get; set; }

        public static bool Showroom { get; set; }

        private static List<int> productBasket = new List<int>();

        public static List<int> ProductBasket
        {
            get { return AppSession.productBasket; }
            set { AppSession.productBasket = value; }
        }


        public static string Language { get; set; }

        public static bool IsTest { get; set; }
    }
}
